// copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
// see COPYRIGHT for reuse legalities
//

#import "RIBCommand.h"
#import "RIBCommandCell.h"

@implementation RIBCommandCell


+ initialize { [RIBCommandCell setVersion:1]; return self; }
////////////////////////////////////////////////////////
//
- init
{
  [super init];
  ribCommand = nil;

  return self;
}
- initTextCell:(const char *)aString
{
  [super initTextCell:aString];
  ribCommand = nil;

  return self;
}
//
- awake
{
  [super awake];
  return self;
}

//
- setRIBCommand:aRIBCommand { ribCommand = aRIBCommand; return self; }
//
- ribCommand { return ribCommand; }

- write:(NXTypedStream *)stream 
{
   [super write:stream];
   return self;
}
//
- read:(NXTypedStream *)stream 
{
   int version;

   [super read:stream];

   version = NXTypedStreamClassVersion(stream, "RIBCommandCell");
   if (version == 1)
   {  
   }
   return self;
}


@end
